import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'


Vue.config.productionTip = false

// 引入mintui
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(MintUI)

// 引入axios
import axios from 'axios'
axios.defaults.baseURL = 'http://localhost:3000'
import VueAxios from 'vue-axios'
Vue.use(VueAxios, axios)

// 引入momentjs
import moment from 'moment'
Vue.prototype.moment = moment

// 引入vant 2
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

// 引入rem布局适配
import 'lib-flexible'

// 引入reset-css清除公共样式
import 'reset-css'

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
